Skip to content

Conversation

@itowlson
Copy link
Contributor

The idea with this is instead of separate add-bindings commands and trying to maintain a unified and stateful WIT file, the add command should generate a WIT file per dep and create bindings for that dep in a separate Rust module. This seemed to work nicely enough for simple cases, but ran into some nasties when the dep imported an interface that got subsetted (and was used elsewhere with a different subset? My memory is vague). Anyway sending the PR at @karthik2804's request for him to to include or adapt as he sees fit!

@karthik2804 karthik2804 merged commit 37528eb into spinframework:main Mar 17, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants